<script language="javascript">
	alert(document.referrer);
</script>